import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
import { state,getters,mutations } from './mutations'
import actions from './actions'
// 引入cate
import cate from './modules/cate'
import specs from './modules/specs'
import goods from './modules/goods'
import vip from './modules/vip'
import banner from './modules/banner'
import seckil from './modules/seckil'
export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules: {
    cate,
    specs,
    goods,
    vip,
    banner,
    seckil
  }
})
